from socket import *

tcp_server_socket = socket(AF_INET, SOCK_STREAM)

address = ('192.168.1.113', 8080)

tcp_server_socket.bind(address)


tcp_server_socket.listen(128)

client_socket, clientAddr = tcp_server_socket.accept()

recv_data = client_socket.recv(1024)  
print('recieve::', recv_data.decode('gbk'))

client_socket.send("thank you !".encode('gbk')) 

client_socket.close()
tcp_server_socket.close()